<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="javascript:void(0)">开始</a> / 
    <a href="javascript:void(0)">入库管理</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
        <a href="{url('addwarehouse/index')}" class="button">
            <i class="iconfont icon-xiangzuo1"></i> 返回
        </a>
    </div>
</div>
<div class="m10">
<form id="form" action="{url('addwarehouse/edit')}">
<input type="hidden" name="id" value="{$id}"/>   
<input type="hidden" name="addwarehouse_admin_name" value="{if $info['addwarehouse']}{$info['addwarehouse']}{else}{$userInfo['username']}{/if}" />
<table class="table">
    <tr>
      <th>IMEI号:</th>
      <td>
        <input disabled="disabled" class="input w150 gray-input" datatype="*" type="text" name="imei" value="{$info['imei']}" />
      </td>
    </tr>
    <tr>
      <th>跟踪号:</th>
      <td>
        <input disabled="disabled" class="input w150 gray-input" datatype="*" type="text" name="number" value="{$info['number']}" />
      </td>
    </tr> 
    <tr>
      <th>门店号:</th>
      <td>
        <input class="input w150 gray-input" disabled="disabled" datatype="*" type="text" name="supplier_id" value="{$info['supplier_name']}" />
      </td>
    </tr>
    <tr>
      <th>厂商:</th>
      <td>
        <input class="input w250 gray-input" disabled="disabled" datatype="*" type="text" name="manufacturer_id" value="{$info['manufacturer_name']}" />
      </td>
    </tr> 
    <tr>
      <th>库位:</th>
      <td>
<select class="select" name="place_id" datatype="*">
   <option value="" selected="selected"></option>
{loop $place_lists $vo} 
    <option value="{$vo['id']}" {if $info['place_id'] == $vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
    <tr>
      <th>产品名称:</th>
      <td>
        <input class="input w200 gray-input" disabled="disabled" datatype="*" type="text" name="producttype_id" value="{$info['producttype_name']}" />
      </td>
    </tr>
    <tr>
      <th>故障描述:</th>
      <td>
        <textarea disabled="disabled" datatype="*" class="textarea w350 h100 gray-input"  type="text" name="fault_why">{$info['fault_why']}</textarea>
      </td>
    </tr> 
    <tr>
      <th>购机时间:</th>
      <td>
        <input class="input w150 ui-date" datatype="date" type="text" name="shop_time" value="" readonly="readonly" />
      </td>
    </tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="确认入库" class="button button-blue" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
    $('#form').forms();
})
</script>